#ifndef __QUEUE_H__
#define __QUEUE_H__

#include"../linklist/llist.h"

typedef llist_t queue_t;

int queue_init(queue_t ** myqueue, int size);

int queue_is_empty(const queue_t *myqueue);

int enqueue(queue_t *myqueue, const void *data);

int dequeue(queue_t *myqueue, void *data);

void queue_destroy(queue_t **queue);

#endif
